import QtQuick 2.0


Item  {
    id: container

    property alias horizontalMode: image.horizontalTileMode
    property alias verticalMode: image.verticalTileMode

    property int minWidth
    property int minHeight
    property int maxWidth
    property int maxHeight
    property int margin
    property string sourceImage



    BorderImage  {
        id: image; anchors.centerIn: parent

        source: sourceImage

        border.top: container.margin
        border.left: container.margin
        border.bottom: container.margin
        border.right: container.margin
    }
}
